package hongcheng.code_generator.entity.config;

/**
 * 	数据库配置
 * */
public class DataBaseConfig {

	private String dbName;
	private String url;
	private String userName;
	private String password;
	
	
	
	public DataBaseConfig() { }
	
	
	public DataBaseConfig(String dbName, String url, String userName, String password) {
		this.dbName = dbName;
		this.url = url;
		this.userName = userName;
		this.password = password;
	}
	public String getDbName() {
		return dbName;
	}
	public DataBaseConfig setDbName(String dbName) {
		this.dbName = dbName;
		return this;
	}
	public String getUrl() {
		return url;
	}
	public DataBaseConfig setUrl(String url) {
		this.url = url;
		return this;
	}
	public String getUserName() {
		return userName;
	}
	public DataBaseConfig setUserName(String userName) {
		this.userName = userName;
		return this;
	}
	public String getPassword() {
		return password;
	}
	public DataBaseConfig setPassword(String password) {
		this.password = password;
		return this;
	}
	
	
}
